using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using Edge.Business.Domain;
using Edge.Common.ComponentModel;
using Shop.Business.Domain.Catalog;
using Shop.Business.Domain.Customers;
using Shop.Business.Domain.Orders;

namespace Shop.Business.Domain.Pricing
{
    [Serializable]
    public class PriceItemFilter : BaseFilter, ITextSearchSupported
    {
        private string keyword;
        private Product product;
        private decimal price;
        private decimal wholesellPrice;

        public string GetText()
        {
            return keyword;
        }

        public void SetText(string text)
        {
            keyword = text;
        }

        [Browsable(true),
         Description("Keyword"),
         Required(false),
         Category("Advanced Search"),
         Order(1)]
        public string Keyword
        {
            get { return keyword; }
            set { keyword = value; }
        }

        public Product Product
        {
            get { return product; }
            set { product = value; }
        }

        public decimal Price
        {
            get { return price; }
            set { price = value; }
        }

        public decimal WholesellPrice
        {
            get { return wholesellPrice; }
            set { wholesellPrice = value; }
        }
    }
}